import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class Test {
    public static void main(String[] args) {
        // 1. 获取数据
        Scanner scanner = new Scanner(System.in);
        int N = scanner.nextInt();
        int A = scanner.nextInt();
        int B = scanner.nextInt();
        int[][] ints1 = new int[1001][1001];
        int[][] ints2 = new int[1001][1001];
        // 储存敌人的坐标
        for (int i = 0; i < N; i++) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            for (int j = x - B >= 1 ? x - B : 1; j < x; j++) {
                for (int k = y - A >= 1 ? y - A : 1; k <= y; k++) {
                    ints1[j][k]++;
                }
            }
            for (int j = x; j < (x + B <= 1000 ? x + B : 1000); j++) {
                for (int k = 0; k < x; k++) {
                    
                }
            }
        }
    }
}
